package com.baidu.health.mapper;

import com.baidu.health.pojo.TbTaskSituation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Entity com.baidu.health.pojo.TbTaskSituation
 */
@Mapper
public interface TbTaskSituationMapper extends BaseMapper<TbTaskSituation> {

    @Select("select * from tb_task_situation where situation_tid=#{situationTid} and situation_starttime=#{situationStarttime}")
    List<TbTaskSituation> selectBytime(TbTaskSituation tbTaskSituation);
    @Select("select * from tb_task_situation where situation_tid=#{situationTid}")
    List<TbTaskSituation> selectByTid(TbTaskSituation tbTaskSituationlist);
//    @Select("select * from tb_task_situation where situation_tid=#{situationTid} and situation_starttime=#{a}")
//    List<TbTaskSituation> selectBytime(String a, Integer situationTid);

//    @Select("select * from tb_task_situation where situation_tid=#{situationTid} and situation_starttime=#{situationStarttime}")
//    List<TbTaskSituation> selectBytime(String situationStarttime, Integer situationTid);

//    @Select("select * from tb_task_situation where situation_starttime=#{situationStarttime}")
//    List<TbTaskSituation> selectBytime(String situationStarttime);
}




